package com.servlet.berichten;

import java.util.ArrayList;

public class MessageContainer {
	private static ArrayList<String> names = new ArrayList<String>();
	private static ArrayList<String> messages = new ArrayList<String>();
	
	public ArrayList<String> getMessages(){
		return this.messages;
	}
	public ArrayList<String> getNames(){
		return this.names;
	}
	
	public void addMessage(String senderName, String message){
		names.add(senderName);
		messages.add(message);
	}
}
